
#include "packet.h"

bool packet::access_control::operator==(const packet::access_control& rhs)
{
    return ppp==rhs.ppp && t==rhs.t && m==rhs.m && rrr==rhs.rrr;
}
                        
const packet::mac_address 
packet::m_MONITOR_ARRD = 0x0000C00000000001;

std::size_t packet::m_MAX_DATA_SIZE = 4550;

packet::~packet()
{    
}

bool packet::operator==(const packet& rhs)
{
    return equals_packet(rhs);
}        

packet *packet::clone()
{
    return new packet(*this);
}

bool packet::equals_packet(const packet& pkt)
{
    return true;
}



//
//
//
void sc_trace(sc_core::sc_trace_file& tf, const packet& p,
               const std::string& name)
{
    
}

void sc_trace(sc_core::sc_trace_file *tf, const packet& p, 
               const std::string& name)
{
    
}

//
//
//
std::ostream& operator<<(std::ostream& os, const packet& p)
{
    
}